var Ball=Class.extend({
	x:null,
	y:null,
	r:15,
	speed:0,
	deg:0,
	init:function(x,y){
		this.x=x||0;
		this.y=y||0;
	}
});

function ballParse(ball, data){
	ball.x= data.x;
	ball.y= data.y;
	ball.r= data.r;
	ball.speed= data.speed;
	ball.deg= data.deg;
};